package io.hxci.modules.tea.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 教职工基本信息
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tea_info")
public class TeaInfo {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 出生年月
     */
    @TableField(value = "birthday")
    private String birthday;

    /**
     * 入校时间
     */
    @TableField(value = "enterday")
    private String enterday;

    /**
     * 任职状态
     */
    @TableField(value = "state_id")
    private Long stateId;

    /**
     * 部门id
     */
    @TableField(value = "dept_id")
    private Long deptId;

    /**
     * 学历
     */
    @TableField(value = "education_id")
    private Long educationId;

    /**
     * 最高学位
     */
    @TableField(value = "degree_id")
    private Long degreeId;

    /**
     * 学缘
     */
    @TableField(value = "reason_id")
    private Long reasonId;

    /**
     * 专业技术职称
     */
    @TableField(value = "technical_id")
    private Long technicalId;

    /**
     * 学科类别
     */
    @TableField(value = "subject")
    private String subject;

    /**
     * 政治面貌
     */
    @TableField(value = "politic_id")
    private Long politicId;

    /**
     * 国籍
     */
    @TableField(value = "nationality")
    private String nationality;

    @TableField(exist=false)
    private String num;
    @TableField(exist=false)
    private String username;
    @TableField(exist=false)
    private String deptname;
    @TableField(exist=false)
    private String stateKindName;
    @TableField(exist=false)
    private String educationKindName;
    @TableField(exist=false)
    private String degreeKindName;
    @TableField(exist=false)
    private String reasonKindName;
    @TableField(exist=false)
    private String technicalKindName;
    @TableField(exist=false)
    private String subjectKindName;
    @TableField(exist=false)
    private String politicKindName;
    @TableField(exist=false)
    private String nationalityKindName;
}